﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MaterialManagement.Domain.ERP
{
    public class StorageRecordModel
    {
        /// <summary>
        /// 入库主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        public int StorageId { get; set; }
        /// <summary>
        /// 物料编号
        /// </summary>
        public string MaterialCode {  get; set; }
        /// <summary>
        /// 入库单名称
        /// </summary>
        public string WarehousingEntryName {  get; set; }
        /// <summary>
        /// 入库单编号
        /// </summary>
        public string WarehousingEntryCode { get; set; }
        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime StorageDate {  get; set; }
        /// <summary>
        /// 采购单名称
        /// </summary>
        public string PurchaseOrderName { get; set; }
        /// <summary>
        /// 采购单编号
        /// </summary>
        public string PurchaseOrderCode {  get; set; }
        /// <summary>
        /// 来料检验名称
        /// </summary>
        public int IncomingInspectionName {  get; set; }
        /// <summary>
        /// 来料检验单号
        /// </summary>
        public int IncomingInspectionCode {  get; set; }
        /// <summary>
        /// 到期日期
        /// </summary>
        public DateTime BecomeDate {  get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int InventoryQuantity {  get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }
        /// <summary>
        /// 库区名称
        /// </summary>
        public string WarehouseAreaName {  get; set; }
        /// <summary>
        /// 库位名称
        /// </summary>
        public string LocationName { get; set; }
    }
}
